 #define _CRT_SECURE_NO_WARNINGS 1

class Solution {
public:
	vector<vector<int>> construct2DArray(vector<int>& original, int m, int n) {
		if (m * n != original.size())
			return vector<vector<int>>();
		vector<vector<int>> ret(m, vector<int>(n, 0));
		for (int i = 0; i < original.size(); ++i)
		{
			ret[i / n][i % n] = original[i];
		}
		return ret;
	}
};